package com.market.mapper;

import com.market.entity.SendBack;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SendBackMapper {
    List<SendBack> selectSendBackByBuyerId(int buyerId);

    int insertSendBack(SendBack sendBack);

    int modifySendBackState(int id,int state);

    int deleteSendBack(int id);

    int findSendRecordById(int id);

    List<SendBack>queryAllSendBack();//查询全部退货单
}
